<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>  <!--引入Vue3的代码库-->
    <!--创建数据的容器-->
    <div id="app">
        {{msg}}     <!--插值表达式-->
    </div>
    <script>
        //函数的解构
        const {createApp}=Vue
        createApp({
            setup(){
                const msg="helllo world"
                return {msg}
            }
        }).mount("#app")        //要绑定到对应的标签
    </script>
</body>
</html>